import styled from "styled-components";

export const Userpagewrap = styled.div`
  width: 75%;
  display: flex;
  margin: 100px auto;
  justify-content: space-around;
  color: var(--fontsize);
  & > .left {
    width: 60%;
    & > .top {
      background-color: var(--essayback);
      display: flex;
      justify-content: space-between;
      padding: 30px 40px;
      border-radius: 10px;
      & > .left {
        display: flex;
        align-items: center;
        & > img {
          width: 80px;
          height: 80px;
          border-radius: 50%;
        }
        & > .username {
          margin-left: 20px;
          & > .name {
            font-size: 23px;
            font-weight: 600;
          }
          & > .birthday {
            font-size: 14px;
          }
        }
      }
      & > .right {
        width: 150px;
        & > .three {
          display: flex;
          justify-content: space-around;
          font-size: 12px;
          & > .anticon-github {
            margin-top: 6px;
          }
        }
        & > a {
          display: block;
          margin-top: 20px;
          font-size: 15px;
          color: blue;
          padding: 10px 20px;
          border: 1px blue solid;
          border-radius: 10px;
          &:hover {
            background-color: #edf4fb;
          }
        }
      }
    }
    & > .content {
      margin-top: 20px;
      /* background-color: var(--essayback); */
      padding: 10px;
      border-radius: 10px;
    }
  }
  & > .right {
    position: sticky;
    top: 100px;
    padding: 10px;
    height: 500px;
  }
`;
